<template>
    <div>
      <h1>
        <slot name='til'>slot默认的值</slot>
      </h1>
        <button>
          <slot></slot>
        </button>
    </div>
</template>
<script>
// @ is an alias to /src
export default {
    name: 'XXX',
    data() {
        return {
        
        }
    },
    components: {
        
    }
}
</script>
<style lang="less">

</style>